/**
 * @Author: yush
 * @Date: 2019/11/06
 * @Last Modified by: yush
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';
``;

/**
 * 通过标识查询期初库存信息
 * @param {*} params
 */
export const getBeginInventoryByCon = params => axios.get(`${SERVER.VEHICLE}/beginInventory/getBeginInventoryByCon`, { params });


/**
 * 根据对应的标识更改期初库存信息状态
 * @param {*} params
 */
export const updBeginInventoryByFlag = params => axios.post(`${SERVER.VEHICLE}/beginInventory/updBeginInventoryByFlag`, params);


/**
 * 问题库存监察
 * @param {*} params
 */
export const handleQuestions = params => axios.get(`${SERVER.VEHICLE}/beginInventory/handleQuestion`, { params, timeout: 500000 });

/**
 * 手动新建添加期初库存
 * @param {*} params
 */
export const insBeginInventory = params => axios.post(`${SERVER.VEHICLE}/beginInventory/insBeginInventory`, params);

/**
 * 根据vin码删除期初库存车辆
 * @param {*} params
 */
export const delBeginInventory = params => axios.post(`${SERVER.VEHICLE}/beginInventory/delBeginInventory`, params);


